﻿using System;

namespace WSKnowledge.WSHelpers
{
	public static class SystemTime
	{
		private static DateTime _custom = DateTime.MinValue;

		public static DateTime Actual { get { return DateTime.Now; } }

		public static DateTime Custom { get { return _custom; } }

		public static void Set(DateTime pointInTime)
		{
			_custom = pointInTime;
		}

		public static void Reset()
		{
			_custom = DateTime.MinValue;
		}
	}
}
